<template>
    <div class="search-panel">
      <div class="search-nav">
        <div class="swiper-input">'
          <img src="../images/search.png"/>
          <input type="search" />
        </div>
        <button @click="showSearchPanel(false)">取消</button>
      </div>
    </div>
</template>

<script>
    export default {
      name: "search-panel",
      props: {
        showSearchPanel: Function,
        required: true
      }
    }
</script>

<style scoped lang="stylus" ref="stylesheet/stylus">
  .search-panel
    width 100%
    height 100%
    background-color #fff
    position fixed
    left 0
    top 0
    z-index 1000
</style>
